Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't Create New Node Record If Discovery Is Disabled #2140

Merged
merged 6 commits into from
Apr 16, 2021

Conversation

RatanRSur
Copy link
Contributor

@RatanRSur RatanRSur commented Apr 13, 2021

PR description

If peer discovery was disabled, we would still try to create a Node Record even though we hadn't initialized required fields.

Fixed Issue(s)

fixes #2115

Changelog

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>
Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>
Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>
Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>
Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>
Copy link
Contributor

@garyschulte garyschulte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Contributor

@matkt matkt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@RatanRSur RatanRSur enabled auto-merge (squash) April 16, 2021 14:32
@RatanRSur RatanRSur merged commit 0eb871c into hyperledger:master Apr 16, 2021
eum602 pushed a commit to lacchain/besu that referenced this pull request Nov 3, 2023
If peer discovery was disabled, we would still try to create a Node Record even though we hadn't initialized required fields.

Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NullPointerException in updateNodeRecord when mining milestone block
3 participants